<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\helpers\Url;
$this->title = 'ip黑名单';
?>
<div class="container">
    <div class="row">
      
        <?php echo $this->render('_leftnav') ?>
        <div class="col-md-10">
          <div class="page-header clearfix">
            <h2 class="pull-left">IP黑名单</h2>
            <div class="pull-right">
            </div>
          </div>








	        <!--站点配置表单类-->
	        <?php
	        $form = ActiveForm::begin([
		        'action'=>Url::to(['system/ipblackadd']),
		        'method'=>'post',
	        ]);
	        ?>
<!--	<textarea id="ips" name="ips" rows="18" class="form-control"></textarea>-->
	        <?= $form->field($model, 'ipblacklist',['template'=>'{input}{error}'])->textarea(['class'=>'form-control','rows'=>'18']) ?>

  <div class="help-block">IP以逗号分割，被加入黑名单的IP将被禁止访问！暂不支持网段的封锁!</div>
<!--  <input class="btn btn-primary" value="提交" type="submit">-->
	        <?= Html::submitButton('提交', ['class' => 'btn btn-primary']) ?>
<?php ActiveForm::end();?>
        </div>
    </div>
</div>
